#include <stdio.h>
#include <stdlib.h>
#include "mygetline.h"



int main(int argc,char **argv)
{
		FILE *fp;
		char *buff = NULL;
		size_t linesize = 0;
		fp = fopen(argv[1],"r");
		while(mygetline(&buff,&linesize,fp) >= 0)
		{
			fputs(buff,stdout);
		}	
		fclose(fp);
		exit(0);
}
